package com.csii.adhoc.dataunits.service.impl;

import com.csii.adhoc.dataunits.*;
import com.csii.adhoc.dataunits.mapper.*;
import com.csii.adhoc.dataunits.service.PictureService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class PictureServiceImpl implements PictureService {

    @Resource
    private PictureAttrMapper pictureAttrMapper;
    @Resource
    private PictureColorMapper pictureColorMapper;
    @Resource
    private PictureFontMapper pictureFontMapper;
    @Resource
    private PictureMarkMapper pictureMarkMapper;
    @Resource
    private PictureNoticeMapper pictureNoticeMapper;
    @Resource
    private PictureSizeMapper pictureSizeMapper;
    @Resource
    private PictureStyleMapper pictureStyleMapper;


    @Override
    public int deleteByPrimaryKey(PictureAttrKey key) {
        return pictureAttrMapper.deleteByPrimaryKey(key);
    }

    @Override
    public int insert(PictureAttr record) {
        return pictureAttrMapper.insert(record);
    }

    @Override
    public int insertSelective(PictureAttr record) {
        return pictureAttrMapper.insertSelective(record);
    }

    @Override
    public PictureAttr selectByPrimaryKey(PictureAttrKey key) {
        return pictureAttrMapper.selectByPrimaryKey(key);
    }

    @Override
    public int updateByPrimaryKeySelective(PictureAttr record) {
        return pictureAttrMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(PictureAttr record) {
        return pictureAttrMapper.updateByPrimaryKey(record);
    }

    @Override
    public int deleteByPrimaryKey(PictureColorKey key) {
        return pictureColorMapper.deleteByPrimaryKey(key);
    }

    @Override
    public int insert(PictureColor record) {
        return pictureColorMapper.insert(record);
    }

    @Override
    public int insertSelective(PictureColor record) {
        return pictureColorMapper.insertSelective(record);
    }

    @Override
    public PictureColor selectByPrimaryKey(PictureColorKey key) {
        return pictureColorMapper.selectByPrimaryKey(key);
    }

    @Override
    public int updateByPrimaryKeySelective(PictureColor record) {
        return pictureColorMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(PictureColor record) {
        return pictureColorMapper.updateByPrimaryKey(record);
    }

    @Override
    public int deleteByPrimaryKey(PictureSizeKey key) {
        return pictureSizeMapper.deleteByPrimaryKey(key);
    }

    @Override
    public int insert(PictureSize record) {
        return pictureSizeMapper.insert(record);
    }

    @Override
    public int insertSelective(PictureSize record) {
        return pictureSizeMapper.insertSelective(record);
    }

    @Override
    public PictureSize selectByPrimaryKey(PictureSizeKey key) {
        return pictureSizeMapper.selectByPrimaryKey(key);
    }

    @Override
    public int updateByPrimaryKeySelective(PictureSize record) {
        return pictureSizeMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(PictureSize record) {
        return pictureSizeMapper.updateByPrimaryKey(record);
    }

    @Override
    public int deleteByPrimaryKey(PictureMarkKey key) {
        return pictureMarkMapper.deleteByPrimaryKey(key);
    }

    @Override
    public int insert(PictureMark record) {
        return pictureMarkMapper.insert(record);
    }

    @Override
    public int insertSelective(PictureMark record) {
        return pictureMarkMapper.insertSelective(record);
    }

    @Override
    public PictureMark selectByPrimaryKey(PictureMarkKey key) {
        return pictureMarkMapper.selectByPrimaryKey(key);
    }

    @Override
    public int updateByPrimaryKeySelective(PictureMark record) {
        return pictureMarkMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(PictureMark record) {
        return pictureMarkMapper.updateByPrimaryKey(record);
    }

    @Override
    public int deleteByPrimaryKey(PictureNoticeKey key) {
        return pictureNoticeMapper.deleteByPrimaryKey(key);
    }

    @Override
    public int insert(PictureNotice record) {
        return pictureNoticeMapper.insert(record);
    }

    @Override
    public int insertSelective(PictureNotice record) {
        return pictureNoticeMapper.insertSelective(record);
    }

    @Override
    public PictureNotice selectByPrimaryKey(PictureNoticeKey key) {
        return pictureNoticeMapper.selectByPrimaryKey(key);
    }

    @Override
    public int updateByPrimaryKeySelective(PictureNotice record) {
        return pictureNoticeMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(PictureNotice record) {
        return pictureNoticeMapper.updateByPrimaryKey(record);
    }

    @Override
    public int deleteByPrimaryKey(String unitId) {
        return pictureStyleMapper.deleteByPrimaryKey(unitId);
    }

    @Override
    public int insert(PictureStyle record) {
        return pictureStyleMapper.insert(record);
    }

    @Override
    public int insertSelective(PictureStyle record) {
        return pictureStyleMapper.insertSelective(record);
    }

    @Override
    public PictureStyle selectByPrimaryKey(String unitId) {
        return pictureStyleMapper.selectByPrimaryKey(unitId);
    }

    @Override
    public int updateByPrimaryKeySelective(PictureStyle record) {
        return pictureStyleMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(PictureStyle record) {
        return pictureStyleMapper.updateByPrimaryKey(record);
    }

    @Override
    public int insert(PictureFont record) {
        return pictureFontMapper.insert(record);
    }

    @Override
    public int insertSelective(PictureFont record) {
        return pictureFontMapper.insertSelective(record);
    }
}
